<extend name="Public::innerbase"/>
<block name="content">
<div class="container">
    <div class="page-header">
        <h3>修改信息</h3>
    </div>
    <form action="" method="post" class="form-horizontal" onsubmit='return check()'>
        <div class="form-group">
            <label class="control-label col-xs-2">原密码</label>
            <div class="col-md-4">
                <input type="password" class="form-control" name="oldpassword">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-2">新密码</label>
            <div class="col-md-4">
                <input type="password" class="form-control" name="password" />
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-2">重复密码</label>
            <div class="col-md-4">
                <input type="password" class="form-control" name="repassword" />
            </div>
        </div>
        <div class="form-group">
			<div class="col-xs-offset-2 col-md-6">
				<button class="btn btn-success ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
				<button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
			</div>
        </div>
    </form>
</div>
    <script language='javascript'>
        function check() {
            var password=$("input[name='password']").val();
            if (password=='') {
                alert('密码不能为空');
                return false;
            }
            return true;
        }
    </script>
</block>
<block name="js">
  
</block>